package com.engineering.elink.recruitdao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.engineering.elink.domain.recruit.LanguageGrade;

public interface LanguageGradeMapper {
    int deleteByPrimaryKey(Integer gradeId);

    int insert(LanguageGrade record);

    int insertSelective(LanguageGrade record);

    LanguageGrade selectByPrimaryKey(Integer gradeId);

    int updateByPrimaryKeySelective(LanguageGrade record);

    int updateByPrimaryKey(LanguageGrade record);
    
    @Select(" select grade_id as gradeId, name from language_grade ")
    List<LanguageGrade> selectAll();
}